<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
//@todo: load by domain -> website
$templatepath = "template/trassenheide/"; 
?>
<div id="news" class="color-box blue">
<div>
<h3>Aktuelles aus dem Ostseebad</h3>
<div>
<ul class="newsarea">
	<?php 
	//@todo: get type_id from database settings of blog portlet
	// be careful, that only entries are shown which contains to this website
	$type_id = "5";
	$row = $this->blog_model->getEntriesView( $type_id );
	if( !empty( $row ) ){
		foreach( $row['entry'] as $key => $value ){
			echo "<li>" . anchor( site_url( )."/welcome/blog/".$type_id."/".$value['id'], $value['title'] ) ."<br />"
				 . anchor( site_url( )."/welcome/blog/".$type_id."/".$value['id'], '&gt; hier weiterlesen' ) ."</li>";
		}
	}
	?>
</ul>
</div></div></div>